package com.henu.engineer.dao.entity

import org.springframework.format.annotation.DateTimeFormat
import java.time.LocalDate

/**
 *
 * @author noexcept
 * @since 2021/8/11 20:25
 */
data class Audit(
    var id: Int,
    var type: Int,
    var status: Int,
    var auditTeacherId: String,
    var auditorsComment: String,
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    var auditedDate: LocalDate,
    var approveTeacherId: String,
    var approversComment: String,
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    var approvedDate: LocalDate,
    var filename:String,
    var uploadTeacherId:String
)

/*data class Audit(
    var id: String,
    var type: Int,
    var status: Int,
    var auditTeacherId: String,
    var auditorsComment: String,
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    var auditedDate: LocalDate,
    var approveTeacherId: String,
    var approversComment: String,
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    var approvedDate: LocalDate,
)*/
